package com.dnjn.happiness.emo.enums;

import lombok.AllArgsConstructor;
import lombok.Getter;

@Deprecated
@Getter
@AllArgsConstructor
public enum HvRiskType {
    /**
     *
     */
    APPRAISE(false,"评价记录"),
    SURVEY(false,"培训记录"),
    INTERVIEW(false,"建议记录"),
    CONTRIBUTE(false,"问卷记录"),
    REWARD(false,"访谈记录"),
    BEHAVIOR(false,"贡献记录"),
    HEALTHY(false,"奖惩记录"),
    CREDIT(false,"家庭记录"),
    TRAINING(true,"行为记录"),
    ADVICE(true,"健康记录"),
    FAMILY(true,"考勤记录"),
    ATTENDANCE(true,"信用记录"),
    ;

    private boolean isCustom;
    private String label;
    public  static HvRiskType  val(String code){
        return  HvRiskType.valueOf(code);
    }

}
